package com.ailink.design.pattern.observer.history;

/**
 * 具体的目标对象，负责吧有关状态存入
 * Created by Administrator on 2018/8/14
 */
public class ConcreteSubject extends Subject {
    private String subjectState;

    public String getSubjectState() {
        return subjectState;
    }

    public void setSubjectState(String subjectState) {
        this.subjectState = subjectState;
        this.notifyObservers();
    }
}
